package com.asnop;

import java.math.BigDecimal;
import java.util.List;

import com.alibaba.fastjson.annotation.JSONField;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
public class AsnObj {
	@JSONField(name="ASNNo")
	private String asnNo;
	@JSONField(name="CPS")
	private List<CpsObj> cps;
	
	@Data
	@NoArgsConstructor
	@AllArgsConstructor
	@Builder
	@ToString
	public static class CpsObj {
		@JSONField(name="BuyerItemNumber")
		private String buyerItemNumber;
		@JSONField(name="SellerItemNumber")
		private String sellerItemNumber;
		@JSONField(name="LineGrossWeight")
		private BigDecimal lineGrossWeight;
		@JSONField(name="LineNetWeight")
		private BigDecimal lineNetWeight;
		@JSONField(name="DespatchQTY")
		private BigDecimal despatchQTY;
		
		
	}
}
